package com.hishop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hishop.common.utils.PageUtils;
import com.hishop.product.entity.AttrGroupEntity;
import com.hishop.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author tanwenbin
 * @email 2466082499@qq.com
 * @date 2024-03-13 09:24:45
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);

//    IPage<AttrGroupEntity> selectAttrGroupList(String key, Long catelogId,
//                                               String pageIndex, String limit);
}

